Fixed visuals
Fixed bad JS source
Fixed inserting attachments