In reply to Marcelo.

Shouldn't JavaScript and PHP be in your theme, not in the WYSIWYG / back end with shortocodes?