Print interface with javascript