fixed build referencing of optimised JS
added .gitignore for build generated files