Added a javascript tag function.