use ES5 require, module from syntax gave an error, fixes #1