Added new loader code to protractor.