add prepare task and requirejs as dependency management