Modified the main.js to remove streaks