fixing js dependencies