cleaning up unused JS
empty the observable arrays before pushing data