added more reqs and some js goodness