Javascript support added to AlivePDF Template