fixing js bug with initializating of data()