enable write script content into js file without script taggs
failed to add external js links