configuring i18n for js (fixes #1) ; moving add-spot js to a .js file (fixes #2)