Submit bob javascript