Fixed unexpected behaviour where modern browsers have 'module'