adding completed js object file for the data with methods