Minor fixes

Minor fixes:
- No need to specify type="text/javascript" for script tag
- Add missing space