better js formatting