use closure to minify scripts
Removed db credentials