renaming the main js. It also now handles star clicks on popped up note.