attempting to read from javascript file