Edited jquery and views