Script was called twice.
Changing add_js to add_js_inline.

Signed-off-by: Sven Rissmann <creaworld-media@gmx.de>