Set javascript formatting