Note/Comment module - PHP/JS/MySQL