properly enqueue scripts