adding default vals, jquery validate lib, localstorage detection