Moved starting of JS timer