shared .js