javascript transition stuff
Added a JFXPanel to a JFrame so that it is more easily swing-compatible