Lamp movement fixed!

Added DOM ready as it was not working in many cases.