add JS to eclipse-prefs