Corrected story map javascript

Signed-off-by: David Saradini <david.saradini@me.com>