Javascript library for communication between tabs