refactor: code cleanup

Closes #1061
chore(travis): cleanup the configuration
chore(travis): run test on IE and Safari