add needed js resources