Disable submit button before document loaded
Fix url parameter joining bug