JS: ensure the mesh shaders always have their versions replaced properly

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>