Fixed: re-implemented JS optimizations
Fixed: one line missed in last commit
Merge branch 'develop' of https://github.com/ddmal/diva.js into horiz-scrolling