Added exported javascript