fixed ladder javascript shortcut code

Signed-off-by: Tim Traver <ttraver@mivamerchant.com>