#1 localize javascript data and load all front end scripts