Fix JSLint error
Add four direction slope primitives