LPS 47959 - BBCode editor throws JS error for color picker

Here is an update for https://issues.liferay.com/browse/LPS-47959, let me know if any changes need to be made. Thanks!