Created beta page and refactor js code for video