change the front.html java script for use in development