Remove BOM from the middle of JS file