Configured require paths and shims, also moved js directory to scripts