start implementing javascript properly :)