manual js validation + error popup

popup needs to be polished