make requirejs uglify and rm uncessary code