Moved utility functions into sculprit.js
Adding dependencies for requirejs