Adding method that pushes all js resources to client.