Remove dependency on JavaScript package