Sync sugar-html-core library
Use domready to make sure dom is ready before manipulating it
Update libs
Merge branch 'master' into gh-pages