including js through module info file is not working
The problem is with a typo in the info file. It's missing a "=" on the version line.
Correct info file here:

name = custom
description = custom module

core = 7.x
version = 7.x-0.1

scripts[] = custom.js


Also note that the version properties is discouraged