Add handlers for js files and the config