Added javascript to video form partial