added snapjs to the app