use extern js file