added to main js

added highlight/dehighlight function
still need to fix json