added new base framework javascript