Style post modal, posts, some class switching in JS