Jbide 15111 4.1.x

JBIDE-15111 Bad text formatting when inserting JS/CSS

Updated methods private to protected