* '.js' postfix is now optional
* added fix to tests