Cleaned up base master script file for non-require template
Fixed bower issue when require is not used