appends controllers js