profit with javascript

1 2 3