adding .js extension for wrapper coding