BISERVER-10473 - Added fix for adding custom scripts for themes