In LimeJS you can use the Box2D library to simulate physics, you don't have to write it yourself.
For collision detection is pretty easy, as the Closure Library (which LimeJS is built around) comes with "bounding box" support to perform this very easily.