Run javscript code when included.