Removed conditional JS calls.

Signed-off-by: J Cornelius <github@jcornelius.com>