Move template options to JS folder