Devided to a JavaScript file.
Applied triangle.