Added deprecation support to JS lang file
JS deprecation unit tests