add a compile to JS context menu
review comments
remove print
Merge pull request #1391 from devoncarew/devoncarew_compile_menu

add a compile to JS context menu