Removing obsolete javascript calls (Bug #1334870)

These calls became obsolete due to the changes in commit
5580903d0b6cb73c52455c2da7c143b36bb1496f

Change-Id: If992b24b3632429c2c2707f2f711988b1f8b2840
Signed-off-by: Robert Lyon <robertl@catalyst.net.nz>