added support for BOM in load() and loadSync(), fixed travis build too.