Ensure .js is not added to data-main attribute (fix #53)