Injects javascript code of locking the selected css theme