use .js as default postfix if omitted