convert XMLHttpRequest to $.ajax in scripts_select.js. Also added tagging ajax request and an if statement to catch tag application in lexos.py in the /select route (still need to add the functionality for it)