adding js folder and some code for spell search view