add self js file