trying to combine inline js