Update Engine to recursively copy javascript files from the classpath; fix broken tests