Added more front-side validation

Includes support for extensions