Formatted java script