- cleaned up code for next stage of the development
- now works in every browser but IE