Moved some script to JS assets