Javascript String Starts With Substring Mysql Command