dynamic javascripts for rocksol