Moved jZebra scripts out of controller