make js external