Added IS_NOT_OF to translator.js

Added IS_NOT_OF function to translator.js, deleted empty function,
corrected some syntax errors