add validation jquery
add checker for indefinite play