Use RequireJS for front-end