Figuring out how to manipulate the sucky js environment in Acrobat