Used strict comparison in Javascript [closes #7]
Fixed access to form's method & action [closes #6]