Implemented javascript form check; fixed a minor css bug;