Attempting to access functions in processing to javascript.