Added possibility to have multiple custom scripts

Added possibility to have multiple custom scripts, the script option of
the page JSON now takes an array instead of a single script.