test for using pre-compiled javascript