Fix for embed and JS links. Fixes #1

Some embed and JS links were returning a non-null value so Firefox was casting them to a string.