Basic validation regexs (and such) for javascript