Additional update to issue #764 workaround to make it compatible with protractor versions prior to 0.19.
Updated to use latest version of Protractor.