now built and minified version is working