Adding some debug
Refactored handler installation and invocation
Added promises to handle rendez vous on document loaded and css loaded
Added Q
Added flag to the configuration to use request animation frame