introduce RequireJS to manage JS modules