Prevent sighting form submission before restriction check. (#512)
Rebuild production JS file.