JavaScript Template for Front end