Move WebGL-unfriendly code to the side
Remove WebGL-unfriendly code