require only js files. fixes #49