more changes plus trying to add a javascript grid object