major javascript overhaul

Will readd the delete and smiley function in the next few days