fixed js validation, employed css for custom filter