add non-minified files
fix javascript undefined problems