Optimized the javascript, with preloading support
Moved data to separate file
Merge branch 'refs/heads/optimizations'
Made YAML support and default parameters.