add js to remove nearly empty p tags
remove before_save hook in TextBrick model
update changelog for version 1.2.12
bump version to 1.2.12