Simplify templates folder by moving .js files directory into scripts