Installer Validation Fixes

- Added Database Connection Validation
- Fixed JS validation