move js out of mason in fieldbook
js formatting