Unknown column 'javascript' in 'where clause'