fix a couple minor js errors
fix a couple minor js errors

nanuxbe/djangopackages,audreyr/opencomparison,benracine/opencomparison,pydanny/djangopackages,nanuxbe/djangopackages,nanuxbe/djangopackages,pydanny/djangopackages,QLGu/djangopackages,benracine/opencomparison,pydanny/djangopackages,QLGu/djangopackages,QLGu/djangopackages,miketheman/opencomparison,audreyr/opencomparison,miketheman/opencomparison