JS: move locking entirely into helper
JS: move locking entirely into helper

addRenderMessage alrerady locks the rendermessages queue internall, remove
all external locks protecting calls. Remove calls to queueRedraw as this
is also called inside addRenderMessage()

Signed-off-by: Harvey Harrison <eadbd6b462bf3c97df0300a934c12bc2e5d1fe51@gmail.com>

jaamsim/jaamsim,jaamsim/jaamsim,jaamsim/jaamsim,jaamsim/jaamsim