Add javascript task