Allow templates/*.js to commit.
Create layout by html instead of javascript.