-javascript formatted like google style