Update secion1.js

Disregard last commit.. I hope that now the function works as supposed to.