adding post message and the js bootstrapped