update version support appending .js extension