added javascript filtering and search