Adding trim function check for IE8 support
fixing jshint issue
Merge pull request #63 from siddii/cworsley4-master

PR for merging https://github.com/cworsley4/angular-timer.git