Simple bootstrap registration written on php with js validation