I can use javascript on footer or not?

That’s expected. Covered in a previous topic:

「いいね!」 7