previz tool refactoring, fixed jquery requests