Only consider javascript files that ends with .js
Fix days and weeks selection on schedules, reported at https://forum.pfsense.org/index.php?topic=74101.0