protractor.getInstance() was removed in protractor 1.5.0

This works for Protractor 1.4.0 or 1.5.0