In browser loader, refer to global object as 'this', not 'self'

Closes #41