removed inline js, changed to minified js