Get rid of the formulasbaseurl hack in javascript